package com.example.rental.service;

import com.example.rental.entity.Admin;
import com.example.rental.entity.dto.AdminDto;
import com.example.rental.result.Result;
import org.springframework.stereotype.Service;



@Service
public interface AdminService  {
    public Admin adminLogin(String phone , String password);
    public Integer addAdmin(String rphone,String rpassword);

    public Admin findByPhone(String phone);
    public Result searchAdmin(AdminDto adminDto);
    public void updateAdmin(Admin admin);
}
